<template>
  <div class="dashboard-container">
    <div class="app-container">
      <el-card class="trr-card">
        <treeTools :tree-node="company" :is-root="false" />
        <el-tree>
          <treeTools slot-scope="{data}" :tree-node="data" />
        </el-tree>
      </el-card>
    </div>
    <addDepts />
  </div>
</template>

<script>
import treeTools from './components/tree-tools.vue'
import { getDepartmentList } from '@/api/departments'
import { tranListToTreeData } from '@/utils'
import addDepts from './components/add-depts.vue'

export default {
  components: {
    treeTools,
    addDepts
  },
  data() {
    return {

    }
  }
}
</script>

<style>

</style>
